.class Lcom/waiqin365/lightapp/product/a/cl;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Landroid/widget/CheckBox;

.field final synthetic b:Lcom/waiqin365/lightapp/product/a/cj;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a/cj;Landroid/widget/CheckBox;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/a/cl;->a:Landroid/widget/CheckBox;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cl;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/a/cj;->b(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-nez v0, :cond_0

    new-instance v1, Lcom/waiqin365/base/db/jxccache/g;

    invoke-direct {v1}, Lcom/waiqin365/base/db/jxccache/g;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cl;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/String;)V

    move-object v0, v1

    :cond_0
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/a/cj;->a()Landroid/content/Context;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/product/a/cj;->k()Ljava/lang/Class;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "pdCache"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v2, "pdId"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/cj;->m()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "isJT"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    iget-boolean v2, v2, Lcom/waiqin365/lightapp/product/a/cj;->i:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "cmId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/a/cj;->j:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "isModify"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cl;->b:Lcom/waiqin365/lightapp/product/a/cj;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/cj;->a()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const/16 v2, 0x3ea

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method
